package com.ccc.demo2;

import java.io.Serializable;

public class MyMessage  implements Serializable {

    private int black;
    private int white;

    public MyMessage(int black, int white) {
        this.black = black;
        this.white = white;
    }

    public int getBlack() {
        return black;
    }

    public void setBlack(int black) {
        this.black = black;
    }

    public int getWhite() {
        return white;
    }

    public void setWhite(int white) {
        this.white = white;
    }

    @Override
    public String toString() {
        return "MyMessage{" +
                "black=" + black +
                ", white=" + white +
                '}';
    }
}
